package com.hitown.service.user;

import java.util.List;
import java.util.Map;

import com.hitown.model.Result;
import com.hitown.model.user.Group;
import com.hitown.model.user.UserInfo;

public interface UserService {
	//查询用户列表
	public Map<String, Object> getUserList(Map<String, Object> map);
	
	//新增用户
	Result addUser(UserInfo userInfo);
	
	//修改用户
	Result updateUser(UserInfo userInfo);
	
	//查询组列表
	public Map<String, Object> getListGroup(Map<String, Object> map);
	
	//新增组
	Result addGroup(Group group);
	
	//修改组
	Result updateGroup(Map<String, Object> map);
	
	//查询组成员列表
	public Map<String, Object> getListUserGroup(Map<String, Object> map);
	
	//新增组成员
	Result addUserGroup(Map<String, Object> map);
	
	//注销组成员
	Result updateUserGroup(Map<String, Object> map);
}
